package com.api.day01stringtest;

public class IndexOfTest {
    public static void main(String[] args) {
        String s = "zero";
        for (int i = 0; i < s.length(); i++) {
            int j = s.indexOf(s.charAt(i));
            System.out.print(j + " ");
        }
    }
}
